<include file="Common:header"/>
  	<title>我的购物车</title>
	<css file="__PUBLIC__/Index/css/cart.css"/>
	<js file="__PUBLIC__/js/jquery-1.8.2.min.js"/>
	<js file="__PUBLIC__/Index/js/cart.js"/>
	<script type="text/javascript">
		var getPricePath = "{:U('Cart/editBuyNum')}";
	</script>
	<include file="Common:topmenubar"/>
	<div class="goodscont">
		<div class="nogoods">
			<div class="flow-steps">
			    <ol class="num5 clearfix">
			      <li class="current"><span class="first">1. 加入购物车</span></li>
			      <li><span>2. 确认订单</span></li>
			      <li><span>3. 付款</span></li>
			      <li><span>4. 收货</span></li>
			      <li class="last"><span>5. 成功</span></li>
			    </ol>
			</div>
			<div class="emptybox">
				<div class="emptycart">
					<h2>您的购物车还是空的，赶紧行动吧！您可以：</h2>
					<p>
					    如果您还未登录，可能导致购物车为空，请 <b><a href="">马上登录</a></b><br/>
					    马上去 <b><a href="">挑选商品</a></b>
					</p>
				</div>
			</div>
		</div>
		<div class="cartbox">
			<div class="flow-steps">
			    <ol class="num5">
			      <li class="current" style="width:300px;"><span class="first">1. 加入购物车</span></li>
			      <li style="width:300px;"><span>2. 确认订单信息</span></li>
			      <li class="last" style="width:300px;"><span>3. 成功提交订单 去付款</span></li>
			    </ol>
  			</div>
  			<form action="{:U('Order/confirmOrder')}" method="post">
			<ul class="gsshow">
				<li class="checkall"><input type="checkbox" />全选</li>
				<li style="width:310px;">商品详情</li>
				<li>单价(元)</li>
				<li>数量</li>
				<li>小计(元)</li>
				<li>操作</li>
			</ul>
			<div class="gslistbox">
				<foreach name="data" item="val">
					<ul class="buygslist">
						<li class="checkthis"><input type="checkbox" checked="checked" /></li>
						<li class="gsinfo">
							<a href="{:U('GoodsCont/index' ,array('gid'=>$val[gid]))}" title="{$val.gname}"><img src="{$val.gimg}" alt="{$val.gname}" ></a>
							<div class="gsintro">
								<p><a href="">{$val.gname}</a></p>
								<span>颜色：{$val.color}</span><br/>
								<span>尺码：{$val.size}</span>
							</div>
						</li>
						<li class="lc sprice">{$val.sprice}</li>
						<li class="lc addred">
							<span class="reduce"></span>
							<input name="buynumber" value="{$val.number}">
							<input type="hidden"  name="buynumberh[]" value="{$val.number}">
							<span class="add"></span>
						</li>
						<li class="lc">
							<b class="totalprice">{$val.totalPrice}</b>
						</li>
						<li class="lc"><a href="" title="要删除购买的商品吗?">删除</a></li>
						<input type="hidden" name="gid" value="{$val.gid}">
						<input type="hidden" name="goodsSpecIds" value="{$val.spec}">
					</ul>
				</foreach>
				<div class="nextdo">
					<ul>
						<li>
							<span class="cartTolPrice">总价：<em>0.00</em>元</span>
						</li>
						<li>
							<input type="submit" class="toorder" value=""/>
							<a href="{:U('Goodslist/index')}" class="tobuy"></a>
							
						</li>
					</ul>
				</div>
			</div>
			</form>
		</div>
		<!-- 网站声明信息 -->
		<div class="netsay">
			<ul>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2qwzmXihaXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2_X1WXgpbXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2VBu6XcNbXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2SnPiXe8bXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2qjDqXchXXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
			</ul>
			<div class="bottommsg">
			<b>版权声明</b>
			</div>
		</div><!-- 网站声明信息 -->
	</div>
	</body>
</html>